<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <script src="webjars/jquery/3.1.1/jquery.min.js"></script>
    <script src="webjars/bootstrap/3.3.5/js/bootstrap.min.js"></script>
    <script src="/js/hamming.js"></script>
    <link rel="stylesheet" href="webjars/bootstrap/3.3.5/css/bootstrap.min.css"/>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>海明码</title>
</head>
<body>
<div class="form-group">
    <div class="container">
        <br><br>
        <label>输入</label>
        <textarea class="form-control" rows="3" id="srcText"></textarea>
        <br>
        <button type="button" class="btn btn-primary" id="codeBtn">编码</button>
        <button type="button" class="btn btn-primary" id="decodeBtn">译码</button>
        <button type="button" class="btn btn-default" id="reset">重置</button>
        <br><br>
        <label>结果</label>
        <textarea class="form-control" rows="3" id="resultText"></textarea>
    </div>
</div>
</body>
</html>